package com.yxuan.springboot.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author zchao
 *    TestOptions实体类
 * @date 2023-05-16 14:22:56
 */
@Data
@ApiModel(description = "")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class TestOptions implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "题目id")
	  private Integer questionId;
	  @ApiModelProperty(value = "选项名")
	  private String optionName;
	  @ApiModelProperty(value = "选项分数")
	  private Float optionScore;
	  @ApiModelProperty(value = "选项内容")
	  private String optionContent;
      //创建时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date createTime;
      //修改时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date updateTime;
	  @ApiModelProperty(value = "操作人id")
	  private String userid;


}
